<php>
$user_id 	= intval($_REQUEST['user_id']);
$userInfo = model('Agent')->getAgent($user_id);
$desirousno = 0;
if(!empty($userInfo)){
	$order_no = model('Agent')->countAgentRebate($user_id);
}
</php>
	<div style="padding:15px; width:300px;height: 100px;overflow: hidden;">
		<div class="left" style="width:115px;">
			<img id="uc_avator" src="{$userInfo['id']|getUserFace='b'}" style="width:93px;height:93px;padding:2px;border: 1px solid rgb(128, 152, 168); ">
		</div>
		<div class="left" style="width:185px;overflow: hidden;height: 100px;" id="uc_uinfo">
			<h3 style="line-height: 22px;font-size:14px;color:#000000;">
				<strong style="" id="uc_uname">{$userInfo['agent']['title']}</strong>&nbsp;&nbsp;
			</h3>
			<php>if($userInfo['agent']['enable']=='Y'||$userInfo['agent']['is_delete']=='N'){</php>
			<p style="padding:3px 0px;">网址：<span id="uc_realname">{$userInfo['agent']['site_url']}</span></p>
			
			<php>}else{
				$order_no = 0;
			</php>
				  <p style="padding:3px 0px;font-weight:bold;color:red;">会员不存在</p>
			<php>}</php>
		</div>
		<div class="c"></div>
	</div>
	<div style="padding:5px 15px; height: 25px; background-color:#F7F7F7; border-top:1px dashed #9F9F9F; clear:both;">
		<div class="honortip">
			<span style="color: #000000;float:right;margin-top:6px; font-weight: bold;">
   				通过{$userInfo['agent']['title']}生成的有效订单&nbsp;<font style="color:#FF9600;font-size:20px;font-family: 'Times New Roman';">{$order_no}</font>&nbsp;个！</a>
			</span>
		</div>
	</div>